<?php
class Telefon
{
	public function convert($number)
	{

		if ($number == "")
			return "";

		$number = preg_replace('/\+\d\d/','', $number);
		$number = preg_replace('/\//','', $number);
		$number = preg_replace('/[\(\)\-]/', '', $number);
		$number = preg_replace('/\s*/', '', $number);
	
		return $number;
	}
}
?>
